package com.modelscope.ai.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
public class ExamVo implements Serializable {

    // 封面url
    private Long id;
    private String url;
    private String title;

    // 合集id
    private Long articleId;
    // 该合集一共的个数
    private Long total;
    // 已经访问的个数，展示进度
    private Double score;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "上次创建时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
